//
// Decompiled with: Decompiler.NET, Version=1.3.1.18439, Culture=neutral, PublicKeyToken=null, Version: 1.3.1.18439
// Decompilation Started at: 3/15/2009 10:34:26 PM
// Copyright 2003 - 2004, Jungle Creatures, Inc., All Rights Reserved. 
// Written by Jonathan Pierce, Email: support@junglecreatures.com
//

namespace PatientManagement

{
		
		#region Namespace Import Declarations
		
			using System.ComponentModel;
			using System.Data.Common;
			using System.Data;
			using System.Data.SqlClient;
			using System.Drawing;
			using System;
			using System.Windows.Forms;
			using Utility;
			
		#endregion
		
	public class frmDiagnoseSyptom : Form
	
	{
		
		#region Fields
			private Button btCapNhat;
			private Button btDelete;
			private Button btExit;
			private Button btThem;
			private ComboBox cboSickTree;
			private Container components;
			private string conn;
			private Database_Com db;
			public int flag;
			private Label label1;
			private Label label2;
			private Label label4;
			private bool loadCayBenh;
			private MyNode node;
			private MyNode nodeChild;
			private MyNode nodeParentOfChild;
			private RadioButton raCayChanDoan;
			private RadioButton raCayNoiSoi;
			private RadioButton raCayTrieuChung;
			private RadioButton raNode;
			private RadioButton raNoiSoi;
			private RadioButton raSickTree;
			private TabControl tabControl1;
			private TabPage tbChildList;
			private TabPage tbParentList;
			private TreeView tvChildList;
			private TreeView tvParentList;
			private TextBox txtCayBenh;
			private TextBox txtSickNode;
		#endregion
		
		#region Constructors
		
			public frmDiagnoseSyptom ()
			
			{
				this.components = ((System.ComponentModel.Container) null);
				this.flag = 1;
				this.db = new Database_Com ();
				this.loadCayBenh = false;
				this.InitializeComponent ();
				this.conn = Connection.ConnectionString ();
				return;
			}
			
		#endregion
		
		#region Methods
		
			private void AddParentNode (string nodeName, DataRow Node)
			
			{
				this.node = new MyNode (Node);
				this.node.Text = nodeName;
				return;
			}
			
			private void AddParentNodeChild (string nodeName, DataRow Node)
			
			{
				this.nodeChild = new MyNode (Node);
				this.nodeChild.Text = nodeName;
				return;
			}
			
			private void AddParentNodeParentOfChild (string nodeName, DataRow Node)
			
			{
				this.nodeParentOfChild = new MyNode (Node);
				this.nodeParentOfChild.Text = nodeName;
				return;
			}
			
			private void btCapNhat_Click (object sender, EventArgs e)
			
			{
				string theString;
				MyNode theMyNode;
				string theString2;
				MyNode theMyNode2;
				string theString3;
				MyNode theMyNode3;
				string theString4;
				MyNode theMyNode4;
				string theString5;
				MyNode theMyNode5;
				string theString6;
				string theString7;
				string theString8;
				DataSet theDataSet;
				MyNode theMyNode6;
				string theString9;
				string[] theStringArray;
				SqlDbType[] theSqlDbTypeArray;
				object[] theObjectArray;
				string[] theStringArray2;
				SqlDbType[] theSqlDbTypeArray2;
				object[] theObjectArray2;
				string[] theStringArray3;
				SqlDbType[] theSqlDbTypeArray3;
				object[] theObjectArray3;
				string[] theStringArray4;
				SqlDbType[] theSqlDbTypeArray4;
				object[] theObjectArray4;
				string[] theStringArray5;
				SqlDbType[] theSqlDbTypeArray5;
				object[] theObjectArray5;
				string[] theStringArray6;
				SqlDbType[] theSqlDbTypeArray6;
				object[] theObjectArray6;
				string[] theStringArray7;
				SqlDbType[] theSqlDbTypeArray7;
				object[] theObjectArray7;
				SqlConnection theSqlConnection = this.db.CreateConnections ();
				theString = string.Empty;
				if (! this.raSickTree.Checked)
				{
					goto L_013B;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_013B;
				}
				if (this.tvChildList.Nodes.Count == 0)
				{
					goto L_07A9;
				}
				
			L_004A:
				
				{
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_0085;
				}
				DialogResult theDialogResult = MessageBox.Show ("Vui l?ng ch?n t?n ch?n ?o?n t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean = this.txtSickNode.Focus ();
				goto L_07A9;
				
			L_0085:
				
				{
				}
				theMyNode = ((MyNode) this.tvChildList.SelectedNode);
				theString2 = string.Empty;
				theString2 = theMyNode.DataRow["plsISN"].ToString ();
				theString = string.Concat ("update PathologicalSigns set plsPathologicalSigns = @name where plsISN = ", theString2);
				theStringArray = new string[1];
				theStringArray[0] = "@name";
				theSqlDbTypeArray = new SqlDbType[1];
				theSqlDbTypeArray[0] = SqlDbType.NVarChar;
				theObjectArray = new object[1];
				theObjectArray[0] = this.txtSickNode.Text;
				int i = this.db.ExecuteNonQueryWithParam (theString, theStringArray, theSqlDbTypeArray, theObjectArray);
				DialogResult theDialogResult2 = MessageBox.Show ("?? c?p nh?t t?n ch?n ?o?n", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				this.cboSickTree.Enabled = true;
				goto L_07A1;
				
			L_013B:
				
				{
				}
				if (! this.raCayChanDoan.Checked)
				{
					goto L_025A;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_025A;
				}
				if (this.tvParentList.Nodes.Count == 0)
				{
					goto L_07A9;
				}
				
			L_0172:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_01AD;
				}
				DialogResult theDialogResult3 = MessageBox.Show ("Vui l?ng ch?n t?n c?y ch?n ?o?n t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean2 = this.txtCayBenh.Focus ();
				goto L_07A9;
				
			L_01AD:
				
				{
				}
				theMyNode2 = ((MyNode) this.tvParentList.SelectedNode);
				theString3 = string.Empty;
				theString3 = theMyNode2.DataRow["pltISN"].ToString ();
				theString = string.Concat ("update PathologicalTree set pltName = @name where pltISN = ", theString3);
				theStringArray2 = new string[1];
				theStringArray2[0] = "@name";
				theSqlDbTypeArray2 = new SqlDbType[1];
				theSqlDbTypeArray2[0] = SqlDbType.NVarChar;
				theObjectArray2 = new object[1];
				theObjectArray2[0] = this.txtCayBenh.Text;
				int i2 = this.db.ExecuteNonQueryWithParam (theString, theStringArray2, theSqlDbTypeArray2, theObjectArray2);
				DialogResult theDialogResult4 = MessageBox.Show ("?? c?p nh?t t?n c?y ch?n ?o?n", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				goto L_07A1;
				
			L_025A:
				
				{
				}
				if (! this.raNode.Checked)
				{
					goto L_0388;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_0388;
				}
				if (this.tvChildList.Nodes.Count == 0)
				{
					goto L_07A9;
				}
				
			L_0292:
				
				{
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_02CD;
				}
				DialogResult theDialogResult5 = MessageBox.Show ("Vui l?ng ch?n t?n tri?u ch?ng t? danh s?ch ", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean3 = this.txtSickNode.Focus ();
				goto L_07A9;
				
			L_02CD:
				
				{
				}
				theMyNode3 = ((MyNode) this.tvChildList.SelectedNode);
				theString4 = string.Empty;
				theString4 = theMyNode3.DataRow["sckISN"].ToString ();
				theString = string.Concat ("update sicks set sckName = @name where sckISN = ", theString4);
				theStringArray3 = new string[1];
				theStringArray3[0] = "@name";
				theSqlDbTypeArray3 = new SqlDbType[1];
				theSqlDbTypeArray3[0] = SqlDbType.NVarChar;
				theObjectArray3 = new object[1];
				theObjectArray3[0] = this.txtSickNode.Text;
				int i3 = this.db.ExecuteNonQueryWithParam (theString, theStringArray3, theSqlDbTypeArray3, theObjectArray3);
				DialogResult theDialogResult6 = MessageBox.Show ("?? c?p nh?t t?n tri?u ch?ng", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				this.cboSickTree.Enabled = true;
				goto L_07A1;
				
			L_0388:
				
				{
				}
				if (! this.raCayTrieuChung.Checked)
				{
					goto L_04A9;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_04A9;
				}
				if (this.tvParentList.Nodes.Count == 0)
				{
					goto L_07A9;
				}
				
			L_03BF:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_03FA;
				}
				DialogResult theDialogResult7 = MessageBox.Show ("Vui l?ng ch?n t?n c?y tri?u ch?ng t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean4 = this.txtCayBenh.Focus ();
				goto L_07A9;
				
			L_03FA:
				
				{
				}
				theMyNode4 = ((MyNode) this.tvParentList.SelectedNode);
				theString5 = string.Empty;
				theString5 = theMyNode4.DataRow["sktISN"].ToString ();
				theString = string.Concat ("update sickTree set sktName = @name where sktISN = ", theString5);
				theStringArray4 = new string[1];
				theStringArray4[0] = "@name";
				theSqlDbTypeArray4 = new SqlDbType[1];
				theSqlDbTypeArray4[0] = SqlDbType.NVarChar;
				theObjectArray4 = new object[1];
				theObjectArray4[0] = this.txtCayBenh.Text;
				int i4 = this.db.ExecuteNonQueryWithParam (theString, theStringArray4, theSqlDbTypeArray4, theObjectArray4);
				DialogResult theDialogResult8 = MessageBox.Show ("?? c?p nh?t t?n c?y tri?u ch?ng", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				goto L_07A1;
				
			L_04A9:
				
				{
				}
				if (! this.raNoiSoi.Checked)
				{
					goto L_06A5;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_06A5;
				}
				if (this.tvChildList.Nodes.Count == 0)
				{
					goto L_07A9;
				}
				
			L_04E1:
				
				{
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_051C;
				}
				DialogResult theDialogResult9 = MessageBox.Show ("Vui l?ng ch?n t?n n?i soi t? danh s?ch ", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean5 = this.txtSickNode.Focus ();
				goto L_07A9;
				
			L_051C:
				
				{
				}
				theMyNode5 = ((MyNode) this.tvChildList.SelectedNode);
				theString6 = string.Empty;
				theString7 = string.Empty;
				theString6 = theMyNode5.DataRow["nscISN"].ToString ();
				theString7 = this.tvChildList.SelectedNode.Text.ToString ();
				theString8 = string.Concat ("Select nscISN from InnerScan where nscISNRoot = ", int.Parse (theString6), " and nscName = @param");
				theStringArray5 = new string[1];
				theStringArray5[0] = "@param";
				theSqlDbTypeArray5 = new SqlDbType[1];
				theSqlDbTypeArray5[0] = SqlDbType.NVarChar;
				theObjectArray5 = new object[1];
				theObjectArray5[0] = theString7;
				theDataSet = this.db.ExecuteQueryWithParam (theString8, theStringArray5, theSqlDbTypeArray5, theObjectArray5);
				if ((theDataSet != null) && ((theDataSet.Tables.Count != 0) && (theDataSet.Tables[0].Rows.Count != 0)))
				{
					goto L_05FA;
				}
				
			L_05F5:
				
				{
				}
				goto L_07A9;
				
			L_05FA:
				
				{
				}
				theString = string.Concat ("update InnerScan set nscName = @name where nscISN = ", theDataSet.Tables[0].Rows[0][0].ToString ());
				theStringArray6 = new string[1];
				theStringArray6[0] = "@name";
				theSqlDbTypeArray6 = new SqlDbType[1];
				theSqlDbTypeArray6[0] = SqlDbType.NVarChar;
				theObjectArray6 = new object[1];
				theObjectArray6[0] = this.txtSickNode.Text;
				int i5 = this.db.ExecuteNonQueryWithParam (theString, theStringArray6, theSqlDbTypeArray6, theObjectArray6);
				DialogResult theDialogResult10 = MessageBox.Show ("?? c?p nh?t t?n n?i soi", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				this.cboSickTree.Enabled = true;
				goto L_07A1;
				
			L_06A5:
				
				{
				}
				if (this.tvParentList.Nodes.Count == 0)
				{
					goto L_07A9;
				}
				
			L_06BC:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_06F7;
				}
				DialogResult theDialogResult11 = MessageBox.Show ("Vui l?ng ch?n t?n c?y n?i soi t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean6 = this.txtCayBenh.Focus ();
				goto L_07A9;
				
			L_06F7:
				
				{
				}
				theMyNode6 = ((MyNode) this.tvParentList.SelectedNode);
				theString9 = string.Empty;
				theString9 = theMyNode6.DataRow["nscISN"].ToString ();
				theString = string.Concat ("update InnerScan set nscName = @name where nscISN = ", theString9);
				theStringArray7 = new string[1];
				theStringArray7[0] = "@name";
				theSqlDbTypeArray7 = new SqlDbType[1];
				theSqlDbTypeArray7[0] = SqlDbType.NVarChar;
				theObjectArray7 = new object[1];
				theObjectArray7[0] = this.txtCayBenh.Text;
				int i6 = this.db.ExecuteNonQueryWithParam (theString, theStringArray7, theSqlDbTypeArray7, theObjectArray7);
				DialogResult theDialogResult12 = MessageBox.Show ("?? c?p nh?t t?n c?y n?i soi", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				
			L_07A1:
				
				{
				}
				this.frmDiagnoseSyptom_Load (sender, e);
				
			L_07A9:
				return;
			}
			
			private void btDelete_Click (object sender, EventArgs e)
			
			{
				string theString;
				MyNode theMyNode;
				string theString2;
				MyNode theMyNode2;
				string theString3;
				MyNode theMyNode3;
				string theString4;
				MyNode theMyNode4;
				string theString5;
				MyNode theMyNode5;
				string theString6;
				string theString7;
				string theString8;
				DataSet theDataSet;
				MyNode theMyNode6;
				string theString9;
				string[] theStringArray;
				SqlDbType[] theSqlDbTypeArray;
				object[] theObjectArray;
				string[] theStringArray2;
				SqlDbType[] theSqlDbTypeArray2;
				object[] theObjectArray2;
				string[] theStringArray3;
				SqlDbType[] theSqlDbTypeArray3;
				object[] theObjectArray3;
				string[] theStringArray4;
				SqlDbType[] theSqlDbTypeArray4;
				object[] theObjectArray4;
				string[] theStringArray5;
				SqlDbType[] theSqlDbTypeArray5;
				object[] theObjectArray5;
				string[] theStringArray6;
				SqlDbType[] theSqlDbTypeArray6;
				object[] theObjectArray6;
				string[] theStringArray7;
				SqlDbType[] theSqlDbTypeArray7;
				object[] theObjectArray7;
				SqlConnection theSqlConnection = this.db.CreateConnections ();
				theString = string.Empty;
				if (! this.raSickTree.Checked)
				{
					goto L_013F;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_013F;
				}
				if (this.tvChildList.Nodes.Count == 0)
				{
					goto L_07BC;
				}
				
			L_004A:
				
				{
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_0085;
				}
				DialogResult theDialogResult = MessageBox.Show ("Vui l?ng ch?n t?n ch?n ?o?n t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean = this.txtSickNode.Focus ();
				goto L_07BC;
				
			L_0085:
				
				{
				}
				if (MessageBox.Show ("B?n c? ??ng ? x?a t?n ch?n ?o?n ?", "X?a", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
				{
					goto L_012E;
				}
				theMyNode = ((MyNode) this.tvChildList.SelectedNode);
				theString2 = string.Empty;
				theString2 = theMyNode.DataRow["plsISN"].ToString ();
				theStringArray = new string[1];
				theStringArray[0] = "@plsISN";
				theSqlDbTypeArray = new SqlDbType[1];
				theSqlDbTypeArray[0] = SqlDbType.Int;
				theObjectArray = new object[1];
				theObjectArray[0] = theString2;
				this.db.ExecuteStoredProc ("sp_Pathological_Delete", theStringArray, theSqlDbTypeArray, theObjectArray);
				DialogResult theDialogResult2 = MessageBox.Show ("?? x?a t?n ch?n ?o?n", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				
			L_012E:
				
				{
				}
				this.cboSickTree.Enabled = true;
				goto L_07B4;
				
			L_013F:
				
				{
				}
				if (! this.raCayChanDoan.Checked)
				{
					goto L_0262;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_0262;
				}
				if (this.tvParentList.Nodes.Count == 0)
				{
					goto L_07BC;
				}
				
			L_0176:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_01B1;
				}
				DialogResult theDialogResult3 = MessageBox.Show ("Vui l?ng ch?n t?n c?y ch?n ?o?n t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean2 = this.txtCayBenh.Focus ();
				goto L_07BC;
				
			L_01B1:
				
				{
				}
				if (MessageBox.Show ("B?n c? ??ng ? x?a c?y ch?n ?o?n n?y kh?ng ?", "X?a", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
				{
					goto L_025D;
				}
				theMyNode2 = ((MyNode) this.tvParentList.SelectedNode);
				theString3 = string.Empty;
				theString3 = theMyNode2.DataRow["pltISN"].ToString ();
				theStringArray2 = new string[1];
				theStringArray2[0] = "@pltISN";
				theSqlDbTypeArray2 = new SqlDbType[1];
				theSqlDbTypeArray2[0] = SqlDbType.Int;
				theObjectArray2 = new object[1];
				theObjectArray2[0] = theString3;
				this.db.ExecuteStoredProc ("sp_PathologicalTree_Delete", theStringArray2, theSqlDbTypeArray2, theObjectArray2);
				DialogResult theDialogResult4 = MessageBox.Show ("?? x?a t?n c?y ch?n ?o?n", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				
			L_025D:
				
				{
				}
				goto L_07B4;
				
			L_0262:
				
				{
				}
				if (! this.raNode.Checked)
				{
					goto L_0394;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_0394;
				}
				if (this.tvChildList.Nodes.Count == 0)
				{
					goto L_07BC;
				}
				
			L_029A:
				
				{
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_02D5;
				}
				DialogResult theDialogResult5 = MessageBox.Show ("Vui l?ng ch?n t?n tri?u ch?ng t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean3 = this.txtSickNode.Focus ();
				goto L_07BC;
				
			L_02D5:
				
				{
				}
				if (MessageBox.Show ("B?n c? ??ng ? x?a t?n tri?u ch?ng n?y kh?ng ? ", "X?a", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
				{
					goto L_0383;
				}
				theMyNode3 = ((MyNode) this.tvChildList.SelectedNode);
				theString4 = string.Empty;
				theString4 = theMyNode3.DataRow["sckISN"].ToString ();
				theStringArray3 = new string[1];
				theStringArray3[0] = "@sckISN";
				theSqlDbTypeArray3 = new SqlDbType[1];
				theSqlDbTypeArray3[0] = SqlDbType.Int;
				theObjectArray3 = new object[1];
				theObjectArray3[0] = theString4;
				this.db.ExecuteStoredProc ("sp_Sick_Delete", theStringArray3, theSqlDbTypeArray3, theObjectArray3);
				DialogResult theDialogResult6 = MessageBox.Show ("?? x?a t?n tri?u ch?ng", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				
			L_0383:
				
				{
				}
				this.cboSickTree.Enabled = true;
				goto L_07B4;
				
			L_0394:
				
				{
				}
				if (! this.raCayTrieuChung.Checked)
				{
					goto L_04B9;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_04B9;
				}
				if (this.tvParentList.Nodes.Count == 0)
				{
					goto L_07BC;
				}
				
			L_03CB:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_0406;
				}
				DialogResult theDialogResult7 = MessageBox.Show ("Vui l?ng ch?n t?n c?y tri?u ch?ng t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean4 = this.txtCayBenh.Focus ();
				goto L_07BC;
				
			L_0406:
				
				{
				}
				if (MessageBox.Show ("B?n c? ??ng ? x?a c?y tri?u ch?ng n?y kh?ng ?", "X?a", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
				{
					goto L_04B4;
				}
				theMyNode4 = ((MyNode) this.tvParentList.SelectedNode);
				theString5 = string.Empty;
				theString5 = theMyNode4.DataRow["sktISN"].ToString ();
				theStringArray4 = new string[1];
				theStringArray4[0] = "@sktISN";
				theSqlDbTypeArray4 = new SqlDbType[1];
				theSqlDbTypeArray4[0] = SqlDbType.Int;
				theObjectArray4 = new object[1];
				theObjectArray4[0] = theString5;
				this.db.ExecuteStoredProc ("sp_SickTree_Delete", theStringArray4, theSqlDbTypeArray4, theObjectArray4);
				DialogResult theDialogResult8 = MessageBox.Show ("?? x?a t?n c?y tri?u ch?ng", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				
			L_04B4:
				
				{
				}
				goto L_07B4;
				
			L_04B9:
				
				{
				}
				if (! this.raNoiSoi.Checked)
				{
					goto L_06B4;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_06B4;
				}
				if (this.tvChildList.Nodes.Count == 0)
				{
					goto L_07BC;
				}
				
			L_04F1:
				
				{
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_052C;
				}
				DialogResult theDialogResult9 = MessageBox.Show ("Vui l?ng ch?n t?n n?i soi t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean5 = this.txtSickNode.Focus ();
				goto L_07BC;
				
			L_052C:
				
				{
				}
				if (MessageBox.Show ("B?n c? ??ng ? x?a t?n n?i soi n?y kh?ng ? ", "X?a", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
				{
					goto L_06A3;
				}
				theMyNode5 = ((MyNode) this.tvChildList.SelectedNode);
				theString6 = string.Empty;
				theString7 = string.Empty;
				theString6 = theMyNode5.DataRow["nscISN"].ToString ();
				theString7 = this.tvChildList.SelectedNode.Text.ToString ();
				theString8 = string.Concat ("Select nscISN from InnerScan where nscISNRoot = ", int.Parse (theString6), " and nscName = @param");
				theStringArray5 = new string[1];
				theStringArray5[0] = "@param";
				theSqlDbTypeArray5 = new SqlDbType[1];
				theSqlDbTypeArray5[0] = SqlDbType.NVarChar;
				theObjectArray5 = new object[1];
				theObjectArray5[0] = theString7;
				theDataSet = this.db.ExecuteQueryWithParam (theString8, theStringArray5, theSqlDbTypeArray5, theObjectArray5);
				if ((theDataSet != null) && ((theDataSet.Tables.Count != 0) && (theDataSet.Tables[0].Rows.Count != 0)))
				{
					goto L_0622;
				}
				
			L_061D:
				
				{
				}
				goto L_07BC;
				
			L_0622:
				
				{
				}
				theStringArray6 = new string[1];
				theStringArray6[0] = "@nscISN";
				theSqlDbTypeArray6 = new SqlDbType[1];
				theSqlDbTypeArray6[0] = SqlDbType.Int;
				theObjectArray6 = new object[1];
				theObjectArray6[0] = theDataSet.Tables[0].Rows[0][0];
				this.db.ExecuteStoredProc ("sp_InnerScan_Delete", theStringArray6, theSqlDbTypeArray6, theObjectArray6);
				DialogResult theDialogResult10 = MessageBox.Show ("?? x?a t?n n?i soi", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				
			L_06A3:
				
				{
				}
				this.cboSickTree.Enabled = true;
				goto L_07B4;
				
			L_06B4:
				
				{
				}
				if (this.tvParentList.Nodes.Count == 0)
				{
					goto L_07BC;
				}
				
			L_06CB:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_0706;
				}
				DialogResult theDialogResult11 = MessageBox.Show ("Vui l?ng ch?n t?n c?y n?i soi t? danh s?ch", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean6 = this.txtCayBenh.Focus ();
				goto L_07BC;
				
			L_0706:
				
				{
				}
				if (MessageBox.Show ("B?n c? ??ng ? x?a c?y n?i soi n?y kh?ng ?", "X?a", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
				{
					goto L_07B4;
				}
				theMyNode6 = ((MyNode) this.tvParentList.SelectedNode);
				theString9 = string.Empty;
				theString9 = theMyNode6.DataRow["nscISN"].ToString ();
				theStringArray7 = new string[1];
				theStringArray7[0] = "@nscISN";
				theSqlDbTypeArray7 = new SqlDbType[1];
				theSqlDbTypeArray7[0] = SqlDbType.Int;
				theObjectArray7 = new object[1];
				theObjectArray7[0] = theString9;
				this.db.ExecuteStoredProc ("sp_InnerScan_Delete", theStringArray7, theSqlDbTypeArray7, theObjectArray7);
				DialogResult theDialogResult12 = MessageBox.Show ("?? x?a t?n c?y n?i soi", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				
			L_07B4:
				
				{
				}
				this.frmDiagnoseSyptom_Load (sender, e);
				
			L_07BC:
				return;
			}
			
			private void btExit_Click (object sender, EventArgs e)
			
			{
				base.Close ();
				return;
			}
			
			private void btThem_Click (object sender, EventArgs e)
			
			{
				string theString;
				string[] theStringArray;
				SqlDbType[] theSqlDbTypeArray;
				object[] theObjectArray;
				string[] theStringArray2;
				SqlDbType[] theSqlDbTypeArray2;
				object[] theObjectArray2;
				string[] theStringArray3;
				SqlDbType[] theSqlDbTypeArray3;
				object[] theObjectArray3;
				string[] theStringArray4;
				SqlDbType[] theSqlDbTypeArray4;
				object[] theObjectArray4;
				string[] theStringArray5;
				SqlDbType[] theSqlDbTypeArray5;
				object[] theObjectArray5;
				string[] theStringArray6;
				SqlDbType[] theSqlDbTypeArray6;
				object[] theObjectArray6;
				SqlConnection theSqlConnection = this.db.CreateConnections ();
				theString = string.Empty;
				if (! this.raSickTree.Checked)
				{
					goto L_00F6;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_00F6;
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_006E;
				}
				DialogResult theDialogResult = MessageBox.Show ("Vui l?ng nh?p t?n ch?n ?o?n m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean = this.txtSickNode.Focus ();
				goto L_0526;
				
			L_006E:
				
				{
				}
				theString = string.Concat ("insert PathologicalSigns values(", this.cboSickTree.SelectedValue.ToString (), ", @name)");
				theStringArray = new string[1];
				theStringArray[0] = "@name";
				theSqlDbTypeArray = new SqlDbType[1];
				theSqlDbTypeArray[0] = SqlDbType.NVarChar;
				theObjectArray = new object[1];
				theObjectArray[0] = this.txtSickNode.Text;
				int i = this.db.ExecuteNonQueryWithParam (theString, theStringArray, theSqlDbTypeArray, theObjectArray);
				this.txtSickNode.Text = "";
				DialogResult theDialogResult2 = MessageBox.Show ("?? th?m m?t t?n ch?n ?o?n m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				goto L_051E;
				
			L_00F6:
				
				{
				}
				if (! this.raCayChanDoan.Checked)
				{
					goto L_01C8;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_01C8;
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_0151;
				}
				DialogResult theDialogResult3 = MessageBox.Show ("Vui l?ng nh?p t?n c?y ch?n ?o?n m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean2 = this.txtCayBenh.Focus ();
				goto L_0526;
				
			L_0151:
				
				{
				}
				theString = "insert PathologicalTree values(@name)";
				theStringArray2 = new string[1];
				theStringArray2[0] = "@name";
				theSqlDbTypeArray2 = new SqlDbType[1];
				theSqlDbTypeArray2[0] = SqlDbType.NVarChar;
				theObjectArray2 = new object[1];
				theObjectArray2[0] = this.txtCayBenh.Text;
				int i2 = this.db.ExecuteNonQueryWithParam (theString, theStringArray2, theSqlDbTypeArray2, theObjectArray2);
				DialogResult theDialogResult4 = MessageBox.Show ("?? th?m m?t c?y ch?n ?o?n m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtCayBenh.Text = "";
				goto L_051E;
				
			L_01C8:
				
				{
				}
				if (! this.raNode.Checked)
				{
					goto L_02B5;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_02B5;
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_0224;
				}
				DialogResult theDialogResult5 = MessageBox.Show ("Vui l?ng nh?p t?n tri?u ch?ng m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean3 = this.txtSickNode.Focus ();
				goto L_0526;
				
			L_0224:
				
				{
				}
				theString = string.Concat ("insert sicks values(", this.cboSickTree.SelectedValue.ToString (), ", @name)");
				theStringArray3 = new string[1];
				theStringArray3[0] = "@name";
				theSqlDbTypeArray3 = new SqlDbType[1];
				theSqlDbTypeArray3[0] = SqlDbType.NVarChar;
				theObjectArray3 = new object[1];
				theObjectArray3[0] = this.txtSickNode.Text;
				int i3 = this.db.ExecuteNonQueryWithParam (theString, theStringArray3, theSqlDbTypeArray3, theObjectArray3);
				DialogResult theDialogResult6 = MessageBox.Show ("?? th?m m?t t?n tri?u ch?ng m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				goto L_051E;
				
			L_02B5:
				
				{
				}
				if (! this.raCayTrieuChung.Checked)
				{
					goto L_0387;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_0387;
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_0310;
				}
				DialogResult theDialogResult7 = MessageBox.Show ("Vui l?ng nh?p t?n c?y tri?u ch?ng m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean4 = this.txtCayBenh.Focus ();
				goto L_0526;
				
			L_0310:
				
				{
				}
				theString = "insert sickTree values(@name)";
				theStringArray4 = new string[1];
				theStringArray4[0] = "@name";
				theSqlDbTypeArray4 = new SqlDbType[1];
				theSqlDbTypeArray4[0] = SqlDbType.NVarChar;
				theObjectArray4 = new object[1];
				theObjectArray4[0] = this.txtCayBenh.Text;
				int i4 = this.db.ExecuteNonQueryWithParam (theString, theStringArray4, theSqlDbTypeArray4, theObjectArray4);
				this.txtCayBenh.Text = "";
				DialogResult theDialogResult8 = MessageBox.Show ("?? th?m m?t t?n c?y tri?u ch?ng m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				goto L_051E;
				
			L_0387:
				
				{
				}
				if (! this.raNoiSoi.Checked)
				{
					goto L_0474;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_0474;
				}
				if (this.txtSickNode.Text != "")
				{
					goto L_03E3;
				}
				DialogResult theDialogResult9 = MessageBox.Show ("Vui l?ng nh?p t?n n?i soi m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean5 = this.txtSickNode.Focus ();
				goto L_0526;
				
			L_03E3:
				
				{
				}
				theString = string.Concat ("insert InnerScan values(", this.cboSickTree.SelectedValue.ToString (), ", @name)");
				theStringArray5 = new string[1];
				theStringArray5[0] = "@name";
				theSqlDbTypeArray5 = new SqlDbType[1];
				theSqlDbTypeArray5[0] = SqlDbType.NVarChar;
				theObjectArray5 = new object[1];
				theObjectArray5[0] = this.txtSickNode.Text;
				int i5 = this.db.ExecuteNonQueryWithParam (theString, theStringArray5, theSqlDbTypeArray5, theObjectArray5);
				DialogResult theDialogResult10 = MessageBox.Show ("?? th?m m?t t?n n?i soi m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.txtSickNode.Text = "";
				goto L_051E;
				
			L_0474:
				
				{
				}
				if (this.txtCayBenh.Text != "")
				{
					goto L_04AC;
				}
				DialogResult theDialogResult11 = MessageBox.Show ("Vui l?ng nh?p t?n c?y n?i soi m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				bool theBoolean6 = this.txtCayBenh.Focus ();
				goto L_0526;
				
			L_04AC:
				
				{
				}
				theString = "insert InnerScan values(0,@name)";
				theStringArray6 = new string[1];
				theStringArray6[0] = "@name";
				theSqlDbTypeArray6 = new SqlDbType[1];
				theSqlDbTypeArray6[0] = SqlDbType.NVarChar;
				theObjectArray6 = new object[1];
				theObjectArray6[0] = this.txtCayBenh.Text;
				int i6 = this.db.ExecuteNonQueryWithParam (theString, theStringArray6, theSqlDbTypeArray6, theObjectArray6);
				this.txtCayBenh.Text = "";
				DialogResult theDialogResult12 = MessageBox.Show ("?? th?m m?t t?n c?y n?i soi m?i", "Th?ng B?o", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				
			L_051E:
				
				{
				}
				this.frmDiagnoseSyptom_Load (sender, e);
				
			L_0526:
				return;
			}
			
			private void checkLoadTrieuChungOrChanDoan ()
			
			{
				if (! this.raCayTrieuChung.Checked)
				{
					goto L_0025;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_0025;
				}
				this.loadTrieuChung ();
				goto L_00B5;
				
			L_0025:
				
				{
				}
				if (! this.raNode.Checked)
				{
					goto L_0048;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_0048;
				}
				this.loadTrieuChung ();
				goto L_00B5;
				
			L_0048:
				
				{
				}
				if (! this.raCayChanDoan.Checked)
				{
					goto L_006A;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_006A;
				}
				this.loadChanDoan ();
				goto L_00B5;
				
			L_006A:
				
				{
				}
				if (! this.raSickTree.Checked)
				{
					goto L_008D;
				}
				if (this.tabControl1.SelectedIndex != 1)
				{
					goto L_008D;
				}
				this.loadChanDoan ();
				goto L_00B5;
				
			L_008D:
				
				{
				}
				if (! this.raCayNoiSoi.Checked)
				{
					goto L_00AF;
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_00AF;
				}
				this.loadNoiSoi ();
				goto L_00B5;
				
			L_00AF:
				
				{
				}
				this.loadNoiSoi ();
				
			L_00B5:
				return;
			}
			
			protected override void Dispose (bool disposing)
			
			{
				this.flag = 0;
				if (! disposing)
				{
					goto L_001D;
				}
				if (this.components == null)
				{
					goto L_001D;
				}
				this.components.Dispose ();
				
			L_001D:
				
				{
				}
				base.Dispose (disposing);
				return;
			}
			
			private void frmDiagnoseSyptom_Load (object sender, EventArgs e)
			
			{
				base.AcceptButton = ((IButtonControl) this.btThem);
				this.btCapNhat.Enabled = true;
				this.btDelete.Enabled = true;
				this.btThem.Enabled = true;
				this.txtCayBenh.Text = "";
				this.txtSickNode.Text = "";
				this.checkLoadTrieuChungOrChanDoan ();
				return;
			}
			
			private DataSet getDsDiagNose ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select * from vw_SickTree_Sicks order by sktName,sckName";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet);
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0033;
				
			L_0033:
				
				{
				}
				return theDataSet2;
			}
			
			private DataSet getDsDiagNoseParent ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select distinct sktName,sktISN from vw_SickTree_Sicks order by sktName";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet);
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0033;
				
			L_0033:
				
				{
				}
				return theDataSet2;
			}
			
			private DataSet getDsNoiSoi ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select distinct nscISN as nscISNTrue ,nscISNChild as nscISN,nscName, nscISNChild"
				+ ", nscNameChild, Root1, Root2, Root3  from vw_InnerScan order by nscName,nscNameC"
				+ "hild";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet, "vw_InnerScan");
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0038;
				
			L_0038:
				
				{
				}
				return theDataSet2;
			}
			
			private DataSet getDsNoiSoiChild ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "Select nscISNChild as nscISN ,nscISNChild ,nscNameChild , nscISNLevelThree, nscN"
				+ "ameLevelThree from dbo.vw_InnerScan Where nscISNLevelThree is not null ";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet, "vw_InnerScan");
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0038;
				
			L_0038:
				
				{
				}
				return theDataSet2;
			}
			
			private DataSet getDsNoiSoiParent ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select distinct nscName, nscISN from vw_InnerScan order by nscName";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet, "InnerScan");
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0038;
				
			L_0038:
				
				{
				}
				return theDataSet2;
			}
			
			private DataSet getDsSyptom ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select * from vw_PathologicalSign order by pltName,plsPathologicalSigns";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet);
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0033;
				
			L_0033:
				
				{
				}
				return theDataSet2;
			}
			
			private DataSet getDsSyptomParent ()
			
			{
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet;
				DataSet theDataSet2;
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select distinct pltName,pltISN from vw_PathologicalSign order by pltName";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet = new DataSet ();
				int i = theSqlDataAdapter.Fill (theDataSet);
				theSqlDataAdapter.Dispose ();
				theDataSet2 = theDataSet;
				goto L_0033;
				
			L_0033:
				
				{
				}
				return theDataSet2;
			}
			
			private void InitializeComponent ()
			
			{
				Control[] theControlArray;
				Control[] theControlArray2;
				Control[] theControlArray3;
				Control[] theControlArray4;
				this.tabControl1 = new TabControl ();
				this.tbParentList = new TabPage ();
				this.txtCayBenh = new TextBox ();
				this.raCayChanDoan = new RadioButton ();
				this.raCayTrieuChung = new RadioButton ();
				this.label4 = new Label ();
				this.tvParentList = new TreeView ();
				this.raCayNoiSoi = new RadioButton ();
				this.tbChildList = new TabPage ();
				this.cboSickTree = new ComboBox ();
				this.raSickTree = new RadioButton ();
				this.raNode = new RadioButton ();
				this.label2 = new Label ();
				this.label1 = new Label ();
				this.txtSickNode = new TextBox ();
				this.tvChildList = new TreeView ();
				this.raNoiSoi = new RadioButton ();
				this.btThem = new Button ();
				this.btCapNhat = new Button ();
				this.btDelete = new Button ();
				this.btExit = new Button ();
				this.tabControl1.SuspendLayout ();
				this.tbParentList.SuspendLayout ();
				this.tbChildList.SuspendLayout ();
				base.SuspendLayout ();
				theControlArray = new Control[2];
				theControlArray[0] = ((Control) this.tbParentList);
				theControlArray[1] = ((Control) this.tbChildList);
				this.tabControl1.Controls.AddRange (theControlArray);
				this.tabControl1.Dock = DockStyle.Left;
				this.tabControl1.Name = "tabControl1";
				this.tabControl1.SelectedIndex = 0;
				this.tabControl1.Size = new System.Drawing.Size (608, 373);
				this.tabControl1.TabIndex = 0;
				this.tabControl1.SelectedIndexChanged += new EventHandler (this.tabControl1_SelectedIndexChanged);
				theControlArray2 = new Control[6];
				theControlArray2[0] = ((Control) this.txtCayBenh);
				theControlArray2[1] = ((Control) this.raCayChanDoan);
				theControlArray2[2] = ((Control) this.raCayTrieuChung);
				theControlArray2[3] = ((Control) this.label4);
				theControlArray2[4] = ((Control) this.tvParentList);
				theControlArray2[5] = ((Control) this.raCayNoiSoi);
				this.tbParentList.Controls.AddRange (theControlArray2);
				this.tbParentList.Location = new Point (4, 25);
				this.tbParentList.Name = "tbParentList";
				this.tbParentList.Size = new System.Drawing.Size (600, 344);
				this.tbParentList.TabIndex = 1;
				this.tbParentList.Text = "C?y Tri?u Ch?ng - C?y Ch?n ?o?n - C?y N?i Soi";
				this.txtCayBenh.BorderStyle = BorderStyle.FixedSingle;
				this.txtCayBenh.Font = new System.Drawing.Font ("Verdana", 9.75F, FontStyle.Regular, GraphicsUnit.Point, ((byte) byte.MinValue));
				this.txtCayBenh.Location = new Point (184, 312);
				this.txtCayBenh.Name = "txtCayBenh";
				this.txtCayBenh.Size = new System.Drawing.Size (280, 23);
				this.txtCayBenh.TabIndex = 116;
				this.txtCayBenh.Text = "";
				this.txtCayBenh.TextChanged += new EventHandler (this.txtCayBenh_TextChanged);
				this.raCayChanDoan.Location = new Point (232, 280);
				this.raCayChanDoan.Name = "raCayChanDoan";
				this.raCayChanDoan.Size = new System.Drawing.Size (128, 24);
				this.raCayChanDoan.TabIndex = 115;
				this.raCayChanDoan.Text = "C?y ch?n ?o?n";
				this.raCayChanDoan.CheckedChanged += new EventHandler (this.frmDiagnoseSyptom_Load);
				this.raCayTrieuChung.Checked = true;
				this.raCayTrieuChung.Location = new Point (48, 280);
				this.raCayTrieuChung.Name = "raCayTrieuChung";
				this.raCayTrieuChung.Size = new System.Drawing.Size (136, 24);
				this.raCayTrieuChung.TabIndex = 114;
				this.raCayTrieuChung.TabStop = true;
				this.raCayTrieuChung.Text = "C?y tri?u ch?ng";
				this.raCayTrieuChung.CheckedChanged += new EventHandler (this.frmDiagnoseSyptom_Load);
				this.label4.Location = new Point (96, 312);
				this.label4.Name = "label4";
				this.label4.Size = new System.Drawing.Size (88, 16);
				this.label4.TabIndex = 112;
				this.label4.Text = "C?y B?nh :";
				this.tvParentList.ImageIndex = -1;
				this.tvParentList.Location = new Point (7, 7);
				this.tvParentList.Name = "tvParentList";
				this.tvParentList.SelectedImageIndex = -1;
				this.tvParentList.Size = new System.Drawing.Size (593, 264);
				this.tvParentList.TabIndex = 0;
				this.tvParentList.KeyPress += new KeyPressEventHandler (this.tvParentList_KeyPress);
				this.tvParentList.DoubleClick += new EventHandler (this.tvParentList_DoubleClick);
				this.raCayNoiSoi.Location = new Point (424, 280);
				this.raCayNoiSoi.Name = "raCayNoiSoi";
				this.raCayNoiSoi.Size = new System.Drawing.Size (128, 24);
				this.raCayNoiSoi.TabIndex = 115;
				this.raCayNoiSoi.Text = "C?y n?i soi";
				theControlArray3 = new Control[8];
				theControlArray3[0] = ((Control) this.cboSickTree);
				theControlArray3[1] = ((Control) this.raSickTree);
				theControlArray3[2] = ((Control) this.raNode);
				theControlArray3[3] = ((Control) this.label2);
				theControlArray3[4] = ((Control) this.label1);
				theControlArray3[5] = ((Control) this.txtSickNode);
				theControlArray3[6] = ((Control) this.tvChildList);
				theControlArray3[7] = ((Control) this.raNoiSoi);
				this.tbChildList.Controls.AddRange (theControlArray3);
				this.tbChildList.Location = new Point (4, 25);
				this.tbChildList.Name = "tbChildList";
				this.tbChildList.Size = new System.Drawing.Size (600, 344);
				this.tbChildList.TabIndex = 0;
				this.tbChildList.Text = "Tri?u Ch?ng - Ch?n ?o?n - N?i Soi";
				this.cboSickTree.DropDownStyle = ComboBoxStyle.DropDownList;
				this.cboSickTree.Font = new System.Drawing.Font ("Verdana", 9.75F, FontStyle.Regular, GraphicsUnit.Point, ((byte) byte.MinValue));
				this.cboSickTree.Location = new Point (184, 280);
				this.cboSickTree.Name = "cboSickTree";
				this.cboSickTree.Size = new System.Drawing.Size (280, 24);
				this.cboSickTree.TabIndex = 110;
				this.raSickTree.Location = new Point (232, 256);
				this.raSickTree.Name = "raSickTree";
				this.raSickTree.Size = new System.Drawing.Size (128, 24);
				this.raSickTree.TabIndex = 106;
				this.raSickTree.Text = "T?n ch?n ?o?n";
				this.raSickTree.CheckedChanged += new EventHandler (this.raNode_CheckedChanged);
				this.raNode.Checked = true;
				this.raNode.Location = new Point (56, 256);
				this.raNode.Name = "raNode";
				this.raNode.Size = new System.Drawing.Size (136, 24);
				this.raNode.TabIndex = 105;
				this.raNode.TabStop = true;
				this.raNode.Text = "T?n tri?u ch?ng";
				this.raNode.CheckedChanged += new EventHandler (this.raNode_CheckedChanged);
				this.label2.Location = new Point (96, 312);
				this.label2.Name = "label2";
				this.label2.Size = new System.Drawing.Size (88, 16);
				this.label2.TabIndex = 104;
				this.label2.Text = "T?n B?nh :";
				this.label1.Location = new Point (96, 288);
				this.label1.Name = "label1";
				this.label1.Size = new System.Drawing.Size (88, 16);
				this.label1.TabIndex = 103;
				this.label1.Text = "C?y B?nh :";
				this.txtSickNode.BorderStyle = BorderStyle.FixedSingle;
				this.txtSickNode.Font = new System.Drawing.Font ("Verdana", 9.75F, FontStyle.Regular, GraphicsUnit.Point, ((byte) byte.MinValue));
				this.txtSickNode.Location = new Point (184, 312);
				this.txtSickNode.Name = "txtSickNode";
				this.txtSickNode.Size = new System.Drawing.Size (280, 23);
				this.txtSickNode.TabIndex = 102;
				this.txtSickNode.Text = "";
				this.tvChildList.ImageIndex = -1;
				this.tvChildList.Location = new Point (6, 7);
				this.tvChildList.Name = "tvChildList";
				this.tvChildList.SelectedImageIndex = -1;
				this.tvChildList.Size = new System.Drawing.Size (594, 248);
				this.tvChildList.TabIndex = 1;
				this.tvChildList.KeyPress += new KeyPressEventHandler (this.tvChildList_KeyPress);
				this.tvChildList.DoubleClick += new EventHandler (this.tvChildList_DoubleClick);
				this.raNoiSoi.Location = new Point (424, 256);
				this.raNoiSoi.Name = "raNoiSoi";
				this.raNoiSoi.Size = new System.Drawing.Size (128, 24);
				this.raNoiSoi.TabIndex = 106;
				this.raNoiSoi.Text = "T?n n?i soi";
				this.btThem.Cursor = Cursors.Hand;
				this.btThem.Location = new Point (624, 104);
				this.btThem.Name = "btThem";
				this.btThem.Size = new System.Drawing.Size (75, 25);
				this.btThem.TabIndex = 96;
				this.btThem.Text = "Th?m";
				this.btThem.Click += new EventHandler (this.btThem_Click);
				this.btCapNhat.Cursor = Cursors.Hand;
				this.btCapNhat.Location = new Point (624, 136);
				this.btCapNhat.Name = "btCapNhat";
				this.btCapNhat.Size = new System.Drawing.Size (75, 25);
				this.btCapNhat.TabIndex = 97;
				this.btCapNhat.Text = "C?p Nh?t";
				this.btCapNhat.Click += new EventHandler (this.btCapNhat_Click);
				this.btDelete.Cursor = Cursors.Hand;
				this.btDelete.Location = new Point (624, 168);
				this.btDelete.Name = "btDelete";
				this.btDelete.Size = new System.Drawing.Size (75, 25);
				this.btDelete.TabIndex = 98;
				this.btDelete.Text = "X?a";
				this.btDelete.Click += new EventHandler (this.btDelete_Click);
				this.btExit.Cursor = Cursors.Hand;
				this.btExit.Location = new Point (624, 200);
				this.btExit.Name = "btExit";
				this.btExit.Size = new System.Drawing.Size (75, 25);
				this.btExit.TabIndex = 99;
				this.btExit.Text = "Tho?t";
				this.btExit.Click += new EventHandler (this.btExit_Click);
				base.AcceptButton = ((IButtonControl) this.btThem);
				this.AutoScaleBaseSize = new System.Drawing.Size (7, 16);
				base.ClientSize = new System.Drawing.Size (720, 373);
				theControlArray4 = new Control[5];
				theControlArray4[0] = ((Control) this.tabControl1);
				theControlArray4[1] = ((Control) this.btThem);
				theControlArray4[2] = ((Control) this.btCapNhat);
				theControlArray4[3] = ((Control) this.btDelete);
				theControlArray4[4] = ((Control) this.btExit);
				base.Controls.AddRange (theControlArray4);
				this.Font = new System.Drawing.Font ("Verdana", 9.75F, FontStyle.Regular, GraphicsUnit.Point, ((byte) byte.MinValue));
				base.Name = "frmDiagnoseSyptom";
				base.StartPosition = FormStartPosition.CenterScreen;
				this.Text = "Tri?u Ch?ng - Ch?n ?o?n";
				base.Load += new EventHandler (this.frmDiagnoseSyptom_Load);
				this.tabControl1.ResumeLayout (false);
				this.tbParentList.ResumeLayout (false);
				this.tbChildList.ResumeLayout (false);
				base.ResumeLayout (false);
				return;
			}
			
			private void loadChanDoan ()
			
			{
				DataSet theDataSet;
				DataSet theDataSet2;
				int i;
				int i2;
				int i3;
				this.tvChildList.Nodes.Clear ();
				this.tvParentList.Nodes.Clear ();
				theDataSet = this.getDsSyptomParent ();
				theDataSet2 = this.getDsSyptom ();
				if ((theDataSet2 != null) && ((theDataSet2.Tables.Count != 0) && (theDataSet2.Tables[0].Rows.Count != 0)))
				{
					goto L_0067;
				}
				
			L_0056:
				
				{
				}
				this.tabControl1.SelectedIndex = 0;
				goto L_02F0;
				
			L_0067:
				
				{
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_00F7;
				}
				i = 0;
				goto L_00D9;
				
			L_007B:
				
				{
				}
				this.AddParentNode (theDataSet.Tables[0].Rows[i]["pltName"].ToString (), theDataSet.Tables[0].Rows[i]);
				int i4 = this.tvParentList.Nodes.Add (((TreeNode) this.node));
				i++;
				
			L_00D9:
				
				{
				}
				if (i < theDataSet.Tables[0].Rows.Count)
				{
					goto L_007B;
				}
				goto L_02F0;
				
			L_00F7:
				
				{
				}
				if (! this.loadCayBenh)
				{
					goto L_015E;
				}
				this.cboSickTree.DataSource = theDataSet;
				this.cboSickTree.DisplayMember = string.Concat (theDataSet.Tables[0].ToString (), ".pltName");
				this.cboSickTree.ValueMember = string.Concat (theDataSet.Tables[0].ToString (), ".pltISN");
				this.loadCayBenh = false;
				
			L_015E:
				
				{
				}
				i2 = 0;
				goto L_02D4;
				
			L_0165:
				
				{
				}
				this.AddParentNode (theDataSet.Tables[0].Rows[i2]["pltName"].ToString (), theDataSet.Tables[0].Rows[i2]);
				int i5 = this.tvChildList.Nodes.Add (((TreeNode) this.node));
				this.tvChildList.SelectedNode = ((TreeNode) this.node);
				i3 = 0;
				goto L_02B3;
				
			L_01D8:
				
				{
				}
				if (theDataSet2.Tables[0].Rows[i3]["pltName"].ToString () != this.tvChildList.SelectedNode.Text)
				{
					goto L_02AD;
				}
				if (theDataSet2.Tables[0].Rows[i3]["plsPathologicalSigns"].ToString () == string.Empty)
				{
					goto L_02AD;
				}
				this.AddParentNode (theDataSet2.Tables[0].Rows[i3]["plsPathologicalSigns"].ToString (), theDataSet2.Tables[0].Rows[i3]);
				int i6 = this.tvChildList.SelectedNode.Nodes.Add (((TreeNode) this.node));
				
			L_02AD:
				
				{
				}
				i3++;
				
			L_02B3:
				
				{
				}
				if (i3 < theDataSet2.Tables[0].Rows.Count)
				{
					goto L_01D8;
				}
				i2++;
				
			L_02D4:
				
				{
				}
				if (i2 < theDataSet.Tables[0].Rows.Count)
				{
					goto L_0165;
				}
				
			L_02F0:
				return;
			}
			
			private void loadNoiSoi ()
			
			{
				DataSet theDataSet;
				DataSet theDataSet2;
				DataSet theDataSet3;
				int i;
				int i2;
				SqlConnection theSqlConnection;
				string theString;
				SqlDataAdapter theSqlDataAdapter;
				DataSet theDataSet4;
				int i3;
				int i4;
				int i5;
				this.tvChildList.Nodes.Clear ();
				this.tvParentList.Nodes.Clear ();
				theDataSet = this.getDsNoiSoiChild ();
				theDataSet2 = this.getDsNoiSoi ();
				theDataSet3 = this.getDsNoiSoiParent ();
				if ((theDataSet2 != null) && ((theDataSet2.Tables.Count != 0) && (theDataSet2.Tables[0].Rows.Count != 0)))
				{
					goto L_006E;
				}
				
			L_005D:
				
				{
				}
				this.tabControl1.SelectedIndex = 0;
				goto L_065C;
				
			L_006E:
				
				{
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_0294;
				}
				i = 0;
				goto L_0273;
				
			L_0085:
				
				{
				}
				this.AddParentNode (theDataSet3.Tables[0].Rows[i]["nscName"].ToString (), theDataSet3.Tables[0].Rows[i]);
				int i6 = this.tvParentList.Nodes.Add (((TreeNode) this.node));
				this.tvParentList.SelectedNode = ((TreeNode) this.node);
				i2 = 0;
				goto L_0252;
				
			L_00F8:
				
				{
				}
				if (theDataSet2.Tables[0].Rows[i2]["nscName"].ToString () != theDataSet3.Tables[0].Rows[i]["nscName"].ToString ())
				{
					goto L_024C;
				}
				if (theDataSet2.Tables[0].Rows[i2]["nscNameChild"].ToString () == string.Empty)
				{
					goto L_024C;
				}
				if ((theDataSet2.Tables[0].Rows[i2]["nscISNTrue"].ToString () != "2") && (theDataSet2.Tables[0].Rows[i2]["nscISNTrue"].ToString () != "1"))
				{
					goto L_024C;
				}
				
			L_01EB:
				
				{
				}
				this.AddParentNodeParentOfChild (theDataSet2.Tables[0].Rows[i2]["nscNameChild"].ToString (), theDataSet2.Tables[0].Rows[i2]);
				int i7 = this.tvParentList.SelectedNode.Nodes.Add (((TreeNode) this.nodeParentOfChild));
				
			L_024C:
				
				{
				}
				i2++;
				
			L_0252:
				
				{
				}
				if (i2 < theDataSet2.Tables[0].Rows.Count)
				{
					goto L_00F8;
				}
				i++;
				
			L_0273:
				
				{
				}
				if (i < theDataSet3.Tables[0].Rows.Count)
				{
					goto L_0085;
				}
				goto L_065C;
				
			L_0294:
				
				{
				}
				if (! this.loadCayBenh)
				{
					goto L_033B;
				}
				theSqlConnection = new SqlConnection (this.conn);
				theString = "select distinct  nscISN , nscName from vw_InnerScan Union Select distinct nscISN"
				+ "Child ,  nscNameChild  from dbo.vw_InnerScan Where nscISN = 2 or  nscISN = 1 ";
				theSqlDataAdapter = new SqlDataAdapter (theString, theSqlConnection);
				theDataSet4 = new DataSet ();
				int i8 = theSqlDataAdapter.Fill (theDataSet4, "InnerScan");
				theSqlDataAdapter.Dispose ();
				this.cboSickTree.DataSource = theDataSet4;
				this.cboSickTree.DisplayMember = string.Concat (theDataSet3.Tables[0].ToString (), ".nscName");
				this.cboSickTree.ValueMember = string.Concat (theDataSet3.Tables[0].ToString (), ".nscISN");
				this.loadCayBenh = false;
				
			L_033B:
				
				{
				}
				i3 = 0;
				goto L_063F;
				
			L_0343:
				
				{
				}
				this.AddParentNode (theDataSet3.Tables[0].Rows[i3]["nscName"].ToString (), theDataSet3.Tables[0].Rows[i3]);
				int i9 = this.tvChildList.Nodes.Add (((TreeNode) this.node));
				this.tvChildList.SelectedNode = ((TreeNode) this.node);
				i4 = 0;
				goto L_061C;
				
			L_03B8:
				
				{
				}
				if (theDataSet2.Tables[0].Rows[i4]["nscName"].ToString () != theDataSet3.Tables[0].Rows[i3]["nscName"].ToString ())
				{
					goto L_0616;
				}
				if (theDataSet2.Tables[0].Rows[i4]["nscNameChild"].ToString () == string.Empty)
				{
					goto L_0616;
				}
				this.AddParentNodeParentOfChild (theDataSet2.Tables[0].Rows[i4]["nscNameChild"].ToString (), theDataSet2.Tables[0].Rows[i4]);
				this.tvChildList.SelectedNode = ((TreeNode) this.node);
				int i10 = this.tvChildList.SelectedNode.Nodes.Add (((TreeNode) this.nodeParentOfChild));
				if (theDataSet2.Tables[0].Rows[i4]["Root3"].ToString () == "")
				{
					goto L_0616;
				}
				i5 = 0;
				goto L_05F9;
				
			L_04F6:
				
				{
				}
				if (theDataSet.Tables[0].Rows[i5]["nscNameChild"].ToString () != theDataSet2.Tables[0].Rows[i4]["nscNameChild"].ToString ())
				{
					goto L_05F3;
				}
				if (theDataSet.Tables[0].Rows[i5]["nscNameLevelThree"].ToString () == string.Empty)
				{
					goto L_05F3;
				}
				this.AddParentNodeChild (theDataSet.Tables[0].Rows[i5]["nscNameLevelThree"].ToString (), theDataSet.Tables[0].Rows[i5]);
				this.tvChildList.SelectedNode = ((TreeNode) this.nodeParentOfChild);
				int i11 = this.tvChildList.SelectedNode.Nodes.Add (((TreeNode) this.nodeChild));
				
			L_05F3:
				
				{
				}
				i5++;
				
			L_05F9:
				
				{
				}
				if (i5 < theDataSet.Tables[0].Rows.Count)
				{
					goto L_04F6;
				}
				
			L_0616:
				
				{
				}
				i4++;
				
			L_061C:
				
				{
				}
				if (i4 < theDataSet2.Tables[0].Rows.Count)
				{
					goto L_03B8;
				}
				i3++;
				
			L_063F:
				
				{
				}
				if (i3 < theDataSet3.Tables[0].Rows.Count)
				{
					goto L_0343;
				}
				
			L_065C:
				return;
			}
			
			private void loadTrieuChung ()
			
			{
				DataSet theDataSet;
				DataSet theDataSet2;
				int i;
				int i2;
				int i3;
				this.tvChildList.Nodes.Clear ();
				this.tvParentList.Nodes.Clear ();
				theDataSet = this.getDsDiagNose ();
				theDataSet2 = this.getDsDiagNoseParent ();
				if ((theDataSet != null) && ((theDataSet.Tables.Count != 0) && (theDataSet.Tables[0].Rows.Count != 0)))
				{
					goto L_0067;
				}
				
			L_0056:
				
				{
				}
				this.tabControl1.SelectedIndex = 0;
				goto L_02F0;
				
			L_0067:
				
				{
				}
				if (this.tabControl1.SelectedIndex != 0)
				{
					goto L_00F7;
				}
				i = 0;
				goto L_00D9;
				
			L_007B:
				
				{
				}
				this.AddParentNode (theDataSet2.Tables[0].Rows[i]["sktName"].ToString (), theDataSet2.Tables[0].Rows[i]);
				int i4 = this.tvParentList.Nodes.Add (((TreeNode) this.node));
				i++;
				
			L_00D9:
				
				{
				}
				if (i < theDataSet2.Tables[0].Rows.Count)
				{
					goto L_007B;
				}
				goto L_02F0;
				
			L_00F7:
				
				{
				}
				if (! this.loadCayBenh)
				{
					goto L_015E;
				}
				this.cboSickTree.DataSource = theDataSet2;
				this.cboSickTree.DisplayMember = string.Concat (theDataSet2.Tables[0].ToString (), ".sktName");
				this.cboSickTree.ValueMember = string.Concat (theDataSet2.Tables[0].ToString (), ".sktISN");
				this.loadCayBenh = false;
				
			L_015E:
				
				{
				}
				i2 = 0;
				goto L_02D4;
				
			L_0165:
				
				{
				}
				this.AddParentNode (theDataSet2.Tables[0].Rows[i2]["sktName"].ToString (), theDataSet2.Tables[0].Rows[i2]);
				int i5 = this.tvChildList.Nodes.Add (((TreeNode) this.node));
				this.tvChildList.SelectedNode = ((TreeNode) this.node);
				i3 = 0;
				goto L_02B3;
				
			L_01D8:
				
				{
				}
				if (theDataSet.Tables[0].Rows[i3]["sktName"].ToString () != this.tvChildList.SelectedNode.Text)
				{
					goto L_02AD;
				}
				if (theDataSet.Tables[0].Rows[i3]["sckName"].ToString () == string.Empty)
				{
					goto L_02AD;
				}
				this.AddParentNode (theDataSet.Tables[0].Rows[i3]["sckName"].ToString (), theDataSet.Tables[0].Rows[i3]);
				int i6 = this.tvChildList.SelectedNode.Nodes.Add (((TreeNode) this.node));
				
			L_02AD:
				
				{
				}
				i3++;
				
			L_02B3:
				
				{
				}
				if (i3 < theDataSet.Tables[0].Rows.Count)
				{
					goto L_01D8;
				}
				i2++;
				
			L_02D4:
				
				{
				}
				if (i2 < theDataSet2.Tables[0].Rows.Count)
				{
					goto L_0165;
				}
				
			L_02F0:
				return;
			}
			
			private void raNode_CheckedChanged (object sender, EventArgs e)
			
			{
				this.loadCayBenh = true;
				this.frmDiagnoseSyptom_Load (sender, e);
				return;
			}
			
			private void tabControl1_SelectedIndexChanged (object sender, EventArgs e)
			
			{
				this.loadCayBenh = true;
				this.frmDiagnoseSyptom_Load (sender, e);
				this.cboSickTree.Enabled = true;
				return;
			}
			
			private void tvChildList_DoubleClick (object sender, EventArgs e)
			
			{
				string theString;
				int i;
				theString = this.tvChildList.SelectedNode.Text.ToString ();
				
			L_0016:
				try
				{
					i = this.cboSickTree.FindStringExact (theString);
					if (i >= 0)
					{
						goto L_00AA;
					}
					this.txtSickNode.Text = theString;
					i = this.cboSickTree.FindStringExact (this.tvChildList.SelectedNode.Parent.Text);
					if (i >= 0)
					{
						goto L_0060;
					}
					goto L_0107;
					
				L_0060:
					
					{
					}
					this.cboSickTree.SelectedIndex = i;
					this.btThem.Enabled = false;
					this.cboSickTree.Enabled = false;
					this.btCapNhat.Enabled = true;
					this.btDelete.Enabled = true;
					base.AcceptButton = ((IButtonControl) this.btCapNhat);
					goto L_0102;
					
				L_00AA:
					
					{
					}
					this.txtSickNode.Text = "";
					this.cboSickTree.SelectedIndex = i;
					this.cboSickTree.Enabled = true;
					this.btThem.Enabled = true;
					this.btCapNhat.Enabled = false;
					this.btDelete.Enabled = false;
					base.AcceptButton = ((IButtonControl) this.btThem);
					
				L_0102:
					
					{
					}
				}
				catch
				{
					
				L_0104:
					
					{
					}
				}
				
			L_0107:
				return;
			}
			
			private void tvChildList_KeyPress (object sender, KeyPressEventArgs e)
			
			{
				if (e.KeyChar != '\r')
				{
					goto L_0014;
				}
				this.tvChildList_DoubleClick (sender, ((EventArgs) e));
				goto L_006A;
				
			L_0014:
				
				{
				}
				if (e.KeyChar != '\u001B')
				{
					goto L_006A;
				}
				this.cboSickTree.Enabled = true;
				this.txtSickNode.Text = "";
				this.btThem.Enabled = true;
				this.btCapNhat.Enabled = false;
				this.btDelete.Enabled = false;
				base.AcceptButton = ((IButtonControl) this.btThem);
				
			L_006A:
				return;
			}
			
			private void tvParentList_DoubleClick (object sender, EventArgs e)
			
			{
				this.txtCayBenh.Text = this.tvParentList.SelectedNode.Text;
				this.btThem.Enabled = false;
				base.AcceptButton = ((IButtonControl) this.btCapNhat);
				return;
			}
			
			private void tvParentList_KeyPress (object sender, KeyPressEventArgs e)
			
			{
				if (e.KeyChar != '\u001B')
				{
					goto L_0032;
				}
				this.txtCayBenh.Text = "";
				this.btThem.Enabled = true;
				base.AcceptButton = ((IButtonControl) this.btThem);
				
			L_0032:
				return;
			}
			
			private void txtCayBenh_TextChanged (object sender, EventArgs e)
			
			{
				return;
			}
			
		#endregion
	}
	
}

